﻿using System.Windows.Input;
using Windows.Foundation;

namespace LayoutHelpers
{
  public enum ShapeType
  {
    Wide,
    Tall,
    Square,
  }

  public enum CompoundRuleType
  {
    Or,
    And,
  }

  public enum RuleGroupType
  {
    FirstMatch,
    AllMatches,
  }

  public enum ComparisonType
  {
    LessThan,
    GreaterThanOrEqualTo,
  }

  public interface ILayoutEvaluator
  {
    bool Evaluate(Size availableSize);
  }

  public interface ILayoutRule
  {
    ILayoutEvaluator LayoutEvaluator { get; }
    ICommand Command { get; }
    string DisplayName { get; }
  }
}
